// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsConsumerGetConnectionResponse.h"

namespace aliyun { namespace Ons {

OnsConsumerGetConnectionResponse::OnsConsumerGetConnectionResponse() {
}

const string& OnsConsumerGetConnectionResponse::Data::ConnectionDo::GetClientId(void) const {
  return ClientId_;
}

const string& OnsConsumerGetConnectionResponse::Data::ConnectionDo::GetClientAddr(void) const {
  return ClientAddr_;
}

const string& OnsConsumerGetConnectionResponse::Data::ConnectionDo::GetLanguage(void) const {
  return Language_;
}

const string& OnsConsumerGetConnectionResponse::Data::ConnectionDo::GetVersion(void) const {
  return Version_;
}

const std::vector<OnsConsumerGetConnectionResponse::Data::ConnectionDo>& OnsConsumerGetConnectionResponse::Data::GetConnectionList(void) const {
  return ConnectionList_;
}

const OnsConsumerGetConnectionResponse::Data& OnsConsumerGetConnectionResponse::GetData(void) const {
  return Data_;
}

const string& OnsConsumerGetConnectionResponse::GetHelpUrl(void) const {
  return HelpUrl_;
}

const char* OnsConsumerGetConnectionResponse::BaseKey(void) {
  return "OnsConsumerGetConnectionResponse";
}

void OnsConsumerGetConnectionResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  UnmarshallerString(HelpUrl_, response_map, "OnsConsumerGetConnectionResponse.HelpUrl");
      int Data__ConnectionList__length = 0;
      UnmarshallerInt(Data__ConnectionList__length, response_map, "OnsConsumerGetConnectionResponse.Data.ConnectionList.Length");
      if(Data__ConnectionList__length >= 0) {
        Data_.ConnectionList_.resize(Data__ConnectionList__length);
        for(int i2 = 0; i2 < Data__ConnectionList__length; i2++) {
          UnmarshallerString(Data_.ConnectionList_[i2].ClientId_, response_map, "OnsConsumerGetConnectionResponse.Data.ConnectionList["+string_ValueOfInt(i2)+"].ClientId");
          UnmarshallerString(Data_.ConnectionList_[i2].ClientAddr_, response_map, "OnsConsumerGetConnectionResponse.Data.ConnectionList["+string_ValueOfInt(i2)+"].ClientAddr");
          UnmarshallerString(Data_.ConnectionList_[i2].Language_, response_map, "OnsConsumerGetConnectionResponse.Data.ConnectionList["+string_ValueOfInt(i2)+"].Language");
          UnmarshallerString(Data_.ConnectionList_[i2].Version_, response_map, "OnsConsumerGetConnectionResponse.Data.ConnectionList["+string_ValueOfInt(i2)+"].Version");
        } // for(int i2 = 0; i2 < Data__ConnectionList__length; i2++) {
      } // if(Data__ConnectionList__length >= 0) {

}


} } // namespace aliyun { namespace Ons {

// end of file 
